<!--# layout("/common/layout.html",{"jsBase":"/js/admin/travelUser/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">用户类型：9=游客，0=普通用户，1=导游</label>
				<div class="layui-input-inline">
					<input type="text" id="userType" name="userType"  value="${travelUser.userType}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">用户姓名</label>
				<div class="layui-input-inline">
					<input type="text" id="userName" name="userName"  value="${travelUser.userName}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">用户头像</label>
				<div class="layui-input-inline">
					<input type="text" id="userAvatar" name="userAvatar"  value="${travelUser.userAvatar}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">登录密码</label>
				<div class="layui-input-inline">
					<input type="text" id="password" name="password"  value="${travelUser.password}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">注册时间</label>
				<div class="layui-input-inline">
					<input type="text" id="registerDt" name="registerDt"  value="${travelUser.registerDt,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">用户是否删除：0有效，1用户注销</label>
				<div class="layui-input-inline">
					<input type="text" id="isDelete" name="isDelete"  value="${travelUser.isDelete}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">微信openid</label>
				<div class="layui-input-inline">
					<input type="text" id="wechatOpenId" name="wechatOpenId"  value="${travelUser.wechatOpenId}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">微信用户union id</label>
				<div class="layui-input-inline">
					<input type="text" id="wechatUnionId" name="wechatUnionId"  value="${travelUser.wechatUnionId}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">昵称</label>
				<div class="layui-input-inline">
					<input type="text" id="nickname" name="nickname"  value="${travelUser.nickname}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">联系电话</label>
				<div class="layui-input-inline">
					<input type="text" id="phone" name="phone"  value="${travelUser.phone}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">注册地址：根据手机自动获取当前地址</label>
				<div class="layui-input-inline">
					<input type="text" id="registerAddress" name="registerAddress"  value="${travelUser.registerAddress}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">会员等级:青铜、白银、黄金、砖石、王者</label>
				<div class="layui-input-inline">
					<input type="text" id="level" name="level"  value="${travelUser.level}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">用户当前积分</label>
				<div class="layui-input-inline">
					<input type="text" id="integral" name="integral"  value="${travelUser.integral}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">用户总获得积分</label>
				<div class="layui-input-inline">
					<input type="text" id="totalIntegral" name="totalIntegral"  value="${travelUser.totalIntegral}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">余额</label>
				<div class="layui-input-inline">
					<input type="text" id="money" name="money"  value="${travelUser.money}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">联系地址</label>
				<div class="layui-input-inline">
					<input type="text" id="contactWay" name="contactWay"  value="${travelUser.contactWay}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">备注</label>
				<div class="layui-input-inline">
					<input type="text" id="comments" name="comments"  value="${travelUser.comments}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">授权手机号</label>
				<div class="layui-input-inline">
					<input type="text" id="authPhoneNumber" name="authPhoneNumber"  value="${travelUser.authPhoneNumber}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">微信公众号openid</label>
				<div class="layui-input-inline">
					<input type="text" id="wechatPlatformOpenId" name="wechatPlatformOpenId"  value="${travelUser.wechatPlatformOpenId}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">小程序平台 0 => 微信</label>
				<div class="layui-input-inline">
					<input type="text" id="platform" name="platform"  value="${travelUser.platform}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">黑名单 0.否 | 1.是</label>
				<div class="layui-input-inline">
					<input type="text" id="blacklist" name="blacklist"  value="${travelUser.blacklist}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="userId" value=${travelUser.userId} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var travelUserEdit = layui.edit
    travelUserEdit.init();
});
</script>
